#ifndef LOGIN_H
#define LOGIN_H
#include<QtNetwork/QUdpSocket>
#include <QMainWindow>
#include "register.h"
#include "workui.h"
#include "carui.h"
QT_BEGIN_NAMESPACE
namespace Ui { class Login; }
QT_END_NAMESPACE

class Login : public QMainWindow
{
    Q_OBJECT

public:
    Login(QWidget *parent = nullptr);
    ~Login();

private slots:
    void on_pushButton_register_3_clicked();
    void connecthandle();
    void on_pushButton_login_3_clicked();

private:
    Ui::Login *ui;
    int identity;
    QUdpSocket* udp;
};
#endif // LOGIN_H
